package service;

import dao.HomeDao;

import java.util.List;
import java.util.Map;

public class HomeService {
    private HomeDao homeDao=new HomeDao();

    /**
     * 当日新增
     * @return
     */
    public Map<String, Object> findHomeCount() {
        return homeDao.findHomeCount();
    }

    /**
     * 最近七天
     * @return
     */
    public List<List<Long>> findHomeDetail() {
        return homeDao.findHomeDetail();
    }
}
